<?php
 $q=$_GET["q"];
 $hint="";
 include_once ("Login/databaseconnection.php");
if($q!="")
{ 
$hint=$hint.'<ul id="feature_menu">';
		$hint=$hint.'<li>';
				if($q=="did_you_know")
				{
               $hint=$hint.'<input class="current" type="button" id="did_you_know" onclick="getContent(this.id)" value="DID YOU KNOW..."/>';
				}
				else
				{ 
				$hint=$hint.'<input type="button" id="did_you_know" onclick="getContent(this.id)" value="DID YOU KNOW..." class="advbutton"/>';
				}
				$hint=$hint.'</li><li>';
                if($q=="on_this_day")
				{
					$hint=$hint.'<input class="current" type="button" id="on_this_day" onclick="getContent(this.id)" value="ON THIS DAY..."/>';
				}  else
					{
                    $hint=$hint.'<input type="button" id="on_this_day" onclick="getContent(this.id)" value="ON THIS DAY..." class="advbutton"/>';
					}
				$hint=$hint.'</li><li>';
                if($q=="featured_content")
				{
					$hint=$hint.'<input class="current" type="button" id="featured_content" onclick="getContent(this.id)" value="FEATURED CONTENT..."/>';
				}
                  else
					{
                    $hint=$hint.'<input type="button" id="featured_content" onclick="getContent(this.id)" value="FEATURED CONTENT..." class="advbutton"/>';
					}
					$hint=$hint.'</li>';
	$hint=$hint.'</ul>';
 $hint=$hint.'<div id="feature">';
$hint=$hint.'<img src="'.$basedir.'/images/header_images.jpg" height="148" width="278" />';
 if($q=="did_you_know")
{
    $hint=$hint.'<p class="text">This system allows you to access data only if you logged in this system,because of the security purpose.If you did not have username and password you can create an account.</p>';
}
if($q=="on_this_day")
{
	$hint=$hint.'<p class="text">This system was developed only for the ICT department of the education department of northern province.</p>';
}
if($q=="featured_content")
{
	$hint=$hint.'<p class="text">This system was developed only for the ICT department of the education department of northern province.</p>';
}
				
$hint=$hint.'</div>';	
}	
if($hint=="")
{
$response="";
}
else
{
$response=$hint;
}
echo $response;		
	?>	